<template>
  <div class="box">
   <h2>404页面</h2>
   <p>亲，您找的页面丢了</p>

  </div>
</template>

<script>
export default {
  name: "NotFound",
  data(){
      return{

      }
  },
  created(){
      //route显示的是当前的路由匹配的对象，params中的数据就是/#/后边的路由路径
      console.log("this.$route",this.$route);
//router显示的是根目录
      console.log("this.$router",this.$router);

  },
  components:{
    
  }
};
     
</script>

<style scoped>



</style>
